package com.grj.park.boot.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.grj.park.boot.domain.DeviceType;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.validation.Valid;
import java.time.LocalDateTime;
import java.util.List;

/**
* @author eren
* @description 针对表【device_type(设备类型表)】的数据库操作Service
* @createDate 2024-11-08 10:48:20
*/
public interface DeviceTypeService extends IService<DeviceType> {

    Page<DeviceType> fetchDeviceTypePage(int currentPage, int pageSize, DeviceType deviceType, List<LocalDateTime> during);

    void postDeviceType(@Valid DeviceType deviceType);

    void putDeviceType(@Valid DeviceType deviceType);

    void delDeviceType(Long id);

    void batchDelDeviceType(List<Long> ids);

    DeviceType fetchDeviceTypeById(Long id);
}
